<template>
  <n-drawer v-model:show="active" :width="'100%'" placement="left">
    <n-drawer-content title="导航" closable>
      <FormVue />
    </n-drawer-content>
  </n-drawer>
</template>
<script setup lang="ts">
  import FormVue from './Form.vue';
  import { ref } from 'vue';
  const active = ref(false);
  const open = () => {
    active.value = true;
  };
  defineExpose({ open });
</script>
